package com.orangeforms.webadmin.upms.dto;

import com.orangeforms.common.core.validator.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author：howlrou
 * @Date：2024/9/18 15:21
 */
@Schema(description = "菜单流程Id绑定Dto")
@Data
public class MenuEntryDto {
    /**
     * 菜单Id。
     */
    @Schema(description = "菜单Id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "菜单Id不能为空！", groups = {UpdateGroup.class})
    private Long menuId;


    /**
     * 仅用于在线表单的流程Id。
     */
    @Schema(description = "仅用于在线表单的流程Id")
    @NotNull(message = "流程Id不能为空！", groups = {UpdateGroup.class})
    private Long onlineFlowEntryId;


}
